{% extends 'base.html' %}

{% block contents %}
<p>Account[{{ action }}]</p>

{% ifequal action 'get' %}
<p>User: {{ instance.user }}</p>
<p>Name: {{ instance.name }}</p>
<p>initialValue: {{ instance.initialValue }}</p>
<p>accountType: {{ instance.accountType }}</p>
<p>createdDatetime: {{ instance.createdDatetime }}</p>
{% endifequal %}

{% ifnotequal action 'get' %}
[Custom Form]
<form action="/account/{{ action}}/{{ object_id }}" method="POST">
{{ cform.as_p }}
<input type="submit" value="Submit" />
</form>


{% endifnotequal %}

{% endblock %}
